﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="TaiVe.aspx.cs" Inherits="FB.TaiVe" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class='fb-contain'>
        <div class='fb-cate'>


            <h2 class="fb-group-title">
                Tải về</h2>
            <div class="search-contain">
                <div class="search-field">
                    <asp:TextBox ID="txtLink" runat="server"></asp:TextBox>
                </div>
                <div class="search-button">
                    <asp:Button ID="btnGetLink" runat="server" Text="Lấy link" OnClick="btnGetLink_Click" />
                </div>
            </div>
            <div class="clearfix"></div>
            <br />
            <br />
            <br />
            <asp:Panel ID="pResult" runat="server" Visible="false">
            
            <table>
            <tr>
                <th colspan="2">Thông tin video</th>
                <th>Link tải về</th>
            </tr>
            <tr>
            <td>
                <asp:HyperLink ID="hplYoutube" Target="_blank" runat="server">
                    <asp:Image ID="imgThumb" width="196px" alt="" runat="server" />
                </asp:HyperLink>
            </td>
            <td valign="top">
                <ul>
                    <li>Tiêu đề: 
                        <asp:Label ID="lblTitle" runat="server" Text=""></asp:Label></li>
                    <li>Thời gian: 
                        <asp:Label ID="lblDuration" runat="server" Text=""></asp:Label></li>
                    <li>Đường dẫn gốc: 
                        <asp:HyperLink ID="hplSource" Target="_blank" runat="server"></asp:HyperLink>
                    </li>
                </ul>
            </td>
            <td><asp:Literal ID="ltlResult" runat="server"></asp:Literal></td>
            </tr>
            </table>
            </asp:Panel>

        </div>
    </div>
    
</asp:Content>
